package constant;

/**
 * @describe: 常量
 * @author: 容若
 * @created: 2024-08-07 11:16
 */
public class CommonConstant {
    /**
     * 上传路径 如：/test/aaa
     */
    public static final String LOAD_PATH = "/aiMarket/algo";

    /**
     * 文件路径参数key
     */
    public static final String FILE_PATH_PARAM = "filePath";

    /**
     * 分片大小，例如：4MB
     */
    public static final int PART_SIZE = 4 * 1024 * 1024;

    /**
     * 请求aistation地址
     */
    public static final String AI_URI = "http://127.0.0.1:1881/files/upload";

    /**
     * 请求token key
     */
    public static final String AUTH_TOKEN = "X-Auth-Token";

    /**
     * 请求token value
     */
    public static final String TOKEN = "f1d094dc-f8d5-4f54-a384-67635c952433";

    /**
     * 请求数据类型 key
     */
    public static final String CONTENT_TYPE = "Content-Type";

    /**
     * 请求数据类型 value
     */
    public static final String TYPE = "multipart/form-data";
}
